package com.swyc.osschat.Test.designMode.visitor.service;

import com.swyc.osschat.Test.designMode.visitor.vo.RoomA;
import com.swyc.osschat.Test.designMode.visitor.vo.RoomB;

/**
 * @description 抽象访问者角色：朋友
 * @Author: z156940l@outlook.com
 * @className Friend
 * @Date: 2022/6/27 16:11
 */
public interface Friend {
    //访问房间A
    void visit(RoomA roomA);
    //访问房间B
    void visit(RoomB roomB);
}
